import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';
const api = apiCreator();
export default {
  // 获取待办表格数据
  getFlowToDoList: (query) => api.get(`${config.interfaces.type5}busp-server/flow/todo`, query),
  // 获取已办表格数据
  getFlowDidList: (query) => api.get(`${config.interfaces.type5}busp-server/flow/queryDoneTasks`, query),
  // 删除待办任务
  deleteData: (query) => api.get(`${config.interfaces.type5}busp-server/flow/deleteProcessInstance`, query),
};
